<template>
    <van-nav-bar :fixed="true" :placeholder="true" :title="props.title" left-text="返回" left-arrow
        @click-left="onClickLeft" />

</template>

<script setup lang="ts">


import { useRouter } from 'vue-router'

const router = useRouter()

const props = defineProps(['title'])


const onClickLeft = () => {
    router.go(-1)
}


</script>

<style scoped>

</style>